#!/bin/bash

CPU=16
MEM=16
DISK=openeuler.img
ISO=openEuler-20.03-LTS-SP3-x86_64-dvd.iso

args=(
-smp ${CPU}
-m ${MEM}G
-enable-kvm
-drive file=${DISK},if=none,id=disk0,format=qcow2
-device virtio-blk-pci,drive=disk0,scsi=off,bootindex=1
-netdev user,id=net0
-device virtio-net-pci,netdev=net0
-vnc :1
-cdrom ${ISO}
-boot d
)

